<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>习惯设定界面</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css">
    <style>
        /* 模拟 iPhone 14 Pro Max 边框 */
        body {
            background-color: #f0f0f0;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            margin: 0;
        }
        .iphone-frame {
            width: 430px;
            height: 932px;
            background-color: #000;
            border-radius: 68px;
            padding: 20px;
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
        }
        .screen {
            width: 100%;
            height: 100%;
            background-color: #fff;
            border-radius: 48px;
            overflow: hidden;
            position: relative;
        }
    </style>
</head>
<body>
    <div class="iphone-frame">
        <div class="screen">
            <!-- 这里添加习惯设定界面的具体内容 -->
            <h1>习惯设定</h1>
            <p>使用 FontAwesome 图标：<i class="fa-solid fa-plus"></i></p>
            <div class="form-container">
              <h2>设定新习惯</h2>
              <form>
                <label for="habit-name">习惯名称:</label>
                <input type="text" id="habit-name" placeholder="例如：每天阅读30分钟">
                <label for="habit-frequency">频率:</label>
                <select id="habit-frequency">
                  <option value="daily">每天</option>
                  <option value="weekly">每周</option>
                  <option value="monthly">每月</option>
                </select>
                <label for="habit-goal">目标:</label>
                <input type="number" id="habit-goal" placeholder="例如：30">
                <label for="habit-start-date">开始日期:</label>
                <input type="date" id="habit-start-date">
                <button type="submit">开始习惯</button>
              </form>
            </div>
        </div>
    </div>
</body>
</html>